﻿using System;

namespace InvestService.Common
{
    public interface IFoo
    {
        void Hello(string userName);
    };
    public interface IBar
    {
        void Hi(string userName);
    };

    public class Foo : IFoo
    {
        public void Hello(string userName)
        {
            Console.WriteLine($"Hello,{userName}!");
        }
    }
    public class Bar : IBar
    {
        public void Hi(string userName)
        {
            Console.WriteLine($"Hi,{userName}!");
        }
    }
}
